package cn.lanqiao.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.lanqiao.entity.Fill_error;
import cn.lanqiao.entity.Judge_error;
import cn.lanqiao.mapper.Fill_errorMapper;
import cn.lanqiao.mapper.Judge_errorMapper;
import cn.lanqiao.service.Judge_errorService;
@Service
public class Judge_errorServiceImpl implements Judge_errorService {
	 @Autowired
	    private Judge_errorMapper judge_errorMapper;

	@Override
	public List<Judge_error> findById(Integer studentId) {
		return judge_errorMapper.findById(studentId);
	}

	@Override
	public int deleteById(Integer questionId) {
		return judge_errorMapper.deleteById(questionId);
	}

	@Override
	public int add(Judge_error judge) {
		return judge_errorMapper.add(judge);
	}
	

}
